from base import Base
from selenium.webdriver.common.by import By
from  time import sleep

class BeiJingPage(Base):

    beijing = (By.XPATH,'//android.widget.TextView[@text="北京"]')
    dy = (By.XPATH,'//android.widget.TextView[@text="切换地区"]')

    def beijingyewu(self):
        self.find_ele(self.beijing).click()
        sleep(2)
